﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace AUV5.Web.Pages
{
    public partial class ShareList : PageBaseFrontend
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                bindShare();
            }
        }

        private void bindShare()
        {
            int recordcount = 0;
            repShare.DataSource = BLL.WorksShareBLL.Instance.GetPagedShare(4, 1, ref recordcount);
            repShare.DataBind();

            hfRecordCount.Value = recordcount.ToString() ;
        }
    }
}